﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using UMLTouch.Core.Entities;
using System.Windows;

namespace UMLTouch.Core.UI
{
    public class ItemAddedEventArgs : EventArgs
    {

        public Control Control { get; protected set; }
        public IDiagramItem Item { get; protected set; }
        public IDiagramContext Context { get; protected set; }

        public ItemAddedEventArgs(Control control, Point position, IDiagramItem item, IDiagramContext context)
        {
            Item = item;
            Context = context;
            Control = control;
        }
    }

    public class UnknownItemAddedEventArgs : EventArgs
    {
        public IDiagramItem Item { get; protected set; }
        public IDiagramContext Context { get; protected set; }

        public UnknownItemAddedEventArgs(IDiagramItem item, IDiagramContext context)
        {
            Item = item;
            Context = context;
           
        }
    }

}
